package com.ocelot.san.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.ocelot.san.dto.Client;
import com.ocelot.san.dto.Operation;

public interface OperationRepository extends JpaRepository<Operation, Long> {

	
	public Page<Operation> findAll(Pageable pageable);

	public List<Operation> findByClient(Client client);
	
}
